<?php
header("Content-Type: text/html;charset=utf-8");
header("Cache-Control:no-cache,must-revalidate,no-store");
header("Pragma:no-cache");
header("Expires:-1");

// $code = $_GET['code'];//前端传来的code值
// $appid = "wx1be0fcc87e8da9c0";
// $appsecret = "fd39f579d5ef78908ee3249ec5a8a027";//获取openid
// $url = "";
// $result = https_request($url);
echo "<br />";
echo "<br />";echo "<br />";
echo "<br />";
echo "绑定微信账号功能测试";
echo "<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo "________________________<a href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1be0fcc87e8da9c0&redirect_uri=http://test2015.embayun.com/oauth2.php&response_type=code&scope=snsapi_base&state=1#wechat_redirect'>马上绑定</a>";
echo "<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo "<br />";
echo "________________________<!-- a href='https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1be0fcc87e8da9c0&redirect_uri=http://test2015.embayun.com/oauth2.php&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect'>弹出绑定</a -->";
